package com.example.service;

import com.example.entity.Page.PageRequest;
import com.example.entity.SlideshowImage;
import com.example.result.CommonResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author: tobed
 * @date: 2022/11/16
 * @time: 15:45
 */
public interface SlideshowImageService {

    /*轮播图全查*/
    CommonResult list(PageRequest pageRequest,SlideshowImage slideshowImage);

    /*轮播图上传*/
    CommonResult create(MultipartFile file, SlideshowImage slideshowImage) throws IOException;

    /*轮播图删除*/
    CommonResult remove(Integer id);

    /*轮播图信息修改*/
    CommonResult update(MultipartFile file, SlideshowImage slideshowImage) throws IOException;
}
